﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HotelPage/Hotel.master" AutoEventWireup="true" CodeFile="HotelInput.aspx.cs" Inherits="HotelInput" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Hotel.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
       
        请录入房间信息：
        <table>
            <tr>
                <td>
                    房间号</td>
                <td>
                    类型</td>
                <td>
                    起始日期</td>
                <td>
                    结束日期</td>
                <td>
                    价格</td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="TextBox_RoomNum" runat="server" Height="182px" 
                        TextMode="MultiLine"></asp:TextBox>
                </td>
                <td>
                    <asp:DropDownList ID="RoomStyle" runat="server">
                        <asp:ListItem Value="1">单人间</asp:ListItem>
                        <asp:ListItem Value="2">双人间</asp:ListItem>
                        <asp:ListItem Value="3">三人间</asp:ListItem>
                        <asp:ListItem Value="4">四人间</asp:ListItem>
                    </asp:DropDownList>
                    
                </td>
                <td>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:TextBox ID="TextBox_start" runat="server"></asp:TextBox>
                            <asp:Calendar ID="Calendar_start" runat="server" 
                                onselectionchanged="Calendar_start_SelectionChanged"></asp:Calendar>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
                <td>
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            <asp:TextBox ID="TextBox_end" runat="server"></asp:TextBox>
                            <asp:Calendar ID="Calendar_end" runat="server" 
                                onselectionchanged="Calendar_end_SelectionChanged"></asp:Calendar>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
                <td>
                    <asp:TextBox ID="TextBox_Price" runat="server"></asp:TextBox>
                    元/天</td>
            </tr>
            <tr>
                <td colspan="5">
                    <asp:Button ID="Button_Store" runat="server" Text="保存" 
                        onclick="Button_Store_Click" />
                </td>
            </tr>
        </table>

</asp:Content>

